/**
 * Created by yiihua-013 on 16/10/26.
 */

'use strict';

function Hash() {

}

Hash.prototype.hash = function (key) {
    var ret = require('crc-32').str(key);
    return ret > 0 ? ret : -ret;
};

module.exports = Hash;
